package com.boboPlanet.dict.entity.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/7/23
 * @Company SQL
 **/
@Data
public class GenerateSqlDTO implements Serializable {

    /**
     * SQL字段集合 key,value关系
     */
    private Map<String,Object> valueMappings;

    /**
     * 查询操作时要查询的字段
     */
    private String fieldsList;

    /**
     * 操作类型 SqlOpeTypeEnum: save、update、select、delete
     */
    private String opeType;

    /**
     * 库
     */
    private String scheme;

    /**
     * 表名
     */
    private String tableName;

    @ExcelProperty(value = "字段名称",index = 0)
    private String excelFields;

    @ExcelProperty(value = "字段值",index = 1)
    private String excelValues;


}
